package com.studerb.service.interfaces;

/**
 * This is the general interface to all Service beans in the app. All Service
 * classes are subclasses of {@link ServiceImp ServiceImp}
 * 
 * @param <T>
 *            Explicit class of implemented service
 */
public interface IService {

	/**
	 * Has the service been started yet?
	 * 
	 * @return true if so, false if not
	 */
	public boolean isStarted();

	/**
	 * Start the service, performing and initialization
	 */
	public void start();

	/**
	 * Stop the service, performing clean up operations
	 */
	public void stop();
}
